import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';

import { query2obj, generate } from '@feidao/core/querystring';
/*
* 获取 exam_name 和 exam_id
*/
export default async function (fd: IFeidaoAiBrowserComponent, ...args: any[]) {

	const url = generate({ criteria: fd.data.criteria }, './teacher-print.html');
	console.log(url);

	window.location.href = url;
}